package asteroids.expression;

import asteroids.model.programs.*;

public class Cosine extends NumericExpression {

	public Cosine(Expression expression) {
		super(expression);
	}

	@Override
	public double getValue(Program program) {
		this.updateArguments(program);
		return (Math.cos(((NumericExpression)arg1).getValue(program)));
	}

}